[IA64] vti save-restore: clean up arch_get/set_info_guest()
authorAlex Williamson <alex.williamson@hp.com>
Wed, 7 Nov 2007 17:19:21 +0000 (10:19 -0700)
committerAlex Williamson <alex.williamson@hp.com>
Wed, 7 Nov 2007 17:19:21 +0000 (10:19 -0700)
commit90c0baa8e8a4039522c00b4054059437b0681cc5
tree678ad001cfea7a4ca402b957f243383df31505f9
parenteeae2c03995def031d3d3b72a4d3c6272d98a040
[IA64] vti save-restore: clean up arch_get/set_info_guest()

- Update comment in copy_rbs()
- Don't warn when rbs_size = 0 for cpu initialization case.
- Remove struct vcpu_guest_context_regs::rbs_nat member which isn't used.
  and add num_phys_stacked to struct vcpu_guest_context_regs.
  so far rbs_nat and rbs_rnat isn't, so it is allowed to change the offset
  of rbs_rnat.
- Add check when setting vRR[].
- Don't set vRR[] if val is zero.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/xen/domain.c
xen/include/public/arch-ia64.h